package com.wuchao.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.omg.CORBA.PUBLIC_MEMBER;

import java.util.List;

/**
 * @Author wuchao66
 * @Date 2023/9/28 10:30
 * @PackageName:com.wuchao.entity
 * @ClassName: Category
 * @Description: TODO
 * @Param
 * @Version 1.0
 */
@Data
@AllArgsConstructor  //全参构造
@NoArgsConstructor//默认无参构造
@Accessors(chain = true)//链式操作，支持任何自定义的构造，无顺序要求
public class Category {
    private int id;
    private String name;
    private List<Entry> list;//小表当主表，1个换好几个

}
